package com.oceanstar.service;

import com.oceanstar.Pojo.*;

public interface IMallService {
    void publicService(MallService service, String token) throws Exception;

    void updateService(MallService service, String token) throws Exception;

    void deleteServices(String ids, String token) throws Exception;

    PageInfo<MallService> getServiceList(String name, String category, Integer minPrice, Integer maxPrice, Integer status, Integer page, Integer pageSize, String token) throws Exception;

    MallService getServiceDetail(Integer id, String token) throws Exception;

    OrderSubmitResult submitOrder(OrderSubmitDTO orderDTO, String token) throws Exception;

    PageInfo<OrderVO> getMyOrders(Integer status, Integer page, Integer pageSize, String token) throws Exception;

    void cancelOrder(String orderId, String token) throws Exception;

    PageInfo<MallOrder> getAdminOrders(String orderId, String serviceName, Integer status, String beginDate, String endDate, String elderName, String contactPhone, Integer page, Integer pageSize, String token) throws Exception;

    void handleOrder(OrderHandleDTO handleDTO, String token) throws Exception;
}
